<div class="sidebar-menu nav-collapse">

    <!-- SIDEBAR MENU -->
    <ul>
        <li class="has-sub">
            <a href="javascript:;" class="" id=2>
                <i class="fa fa-bookmark-o fa-fw"></i> <span class="menu-text">商品管理</span>
                <span class="arrow"></span>
            </a>
            <ul class="sub">
                <li><a id=10 class="" href="../product/group_list.html?type=Web"><span class="sub-menu-text">商品款式</span></a></li>
                <li><a id=11 class="" href="../product/product_list.html"><span class="sub-menu-text">商品列表</span></a></li>

            </ul>
        </li>
        <li class="has-sub">
            <a href="javascript:;" class="" id=2>
                <i class="fa fa-bookmark-o fa-fw"></i> <span class="menu-text">订单管理</span>
                <span class="arrow"></span>
            </a>
            <ul class="sub">
                <li><a id=21 class="" href="../order/send_order_list.html"><span class="sub-menu-text">订单列表</span></a></li>
                <li><a id=22 class="" href="../returnorder/return_order_list.html"><span class="sub-menu-text">退换货列表</span></a></li>
                <li><a id=23 class="" href="../sendDetail/send_detail_list.html"><span class="sub-menu-text">燕窝发货</span></a></li>

            </ul>
        </li>
        <li class="has-sub">
            <a href="javascript:;" class="" id=4>
                <i class="fa fa-table fa-fw"></i> <span class="menu-text">对账查询</span>
                <span class="arrow"></span>
            </a>
            <ul class="sub">
                <li><a id=41 class="" href="../settlement/supply_schedule.html"><span class="sub-menu-text">对账列表</span></a></li>
            </ul>
        </li>

    </ul>
    <!-- /SIDEBAR MENU -->
</div>
<script>
    $(".sub li a").on("click", function () {
        $.cookie("aid", $(this).attr("id"), {path: '/'});
        $.cookie("aname", $(".has-sub.open").find(".menu-text").html() + "-" + $(this).find("span").html(), {path: '/'});
    })
    $(function() {
        var user = $.cookie("loginName") || ''
        var $23 = $('#23')
        if (user != '燕窝') { // 隐藏燕窝发货
            $23.hide();
        }
    })
</script>